{layout name="layout2" /}
<style>
    .layui-form-label {
        color: #6a6f6c;
        width: 100px;
    }
    .layui-input-block {
        margin-left: 130px;
    }
    .tips{
        color: red;
    }
    .unit-tips{
        float: left;
        display: block;
        padding: 9px 0!important;
        line-height: 20px;
        margin-right: 10px;
    }
    .goods{
        display: none;
    }

</style>
<div class="layui-form" lay-filter="layuiadmin-form-bottle" id="layuiadmin-form-bottle" style="padding: 20px 30px 0 0;">
<!--    站点-->
    <div class="layui-form-item">
        <label class="layui-form-label"><span class="tips">*</span>充装站：</label>
        <div class="layui-input-block">
            <select name="site_id" class="layui-input">
            <option value="">请选择充装站</option>
            {foreach $bottle_site_list as $val}
                <option value="{$val.id}">{$val.name}</option>
            {/foreach}
            </select>
        </div>
    </div>
<!--    钢瓶编码-->
    <div class="layui-form-item">
        <label class="layui-form-label"><span class="tips">*</span>钢瓶编码</label>
        <div class="layui-input-block">
            <input type="text" name="code" lay-verify="required" lay-verType="tips" placeholder="请输入钢瓶编码" autocomplete="off" class="layui-input">
        </div>
    </div>
<!--    钢瓶编码-->
    <div class="layui-form-item">
        <label class="layui-form-label">钢瓶条码：</label>
        <div class="layui-input-block">
            <input type="text" name="shared_code" placeholder="请输入钢瓶条码" lay-verType="tips" autocomplete="off" class="layui-input">
        </div>
    </div>
<!--    备注-->
    <div class="layui-form-item">
        <label class="layui-form-label">备注：</label>
        <div class="layui-input-block">
            <input type="text" maxlength="32" name="remark" autocomplete="off" class="layui-input">
        </div>
    </div>


    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="add-bottle-submit" id="add-bottle-submit" value="确认">
    </div>
</div>
<script>
    layui.config({
        version:"{$front_version}",
        base: '/static/plug/layui-admin/dist/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'table','form','laydate'], function(){
        var $ = layui.$
            ,form = layui.form
            ,laydate = layui.laydate
            ,table = layui.table
    });
    
</script>